/*
 * Android Runner is a multiplayer GPS game fully written by Xurxo Mendez Perez
 * 
 * Copyright (C) 2009 Xurxo Mendez Perez
 *   
 * This file is part of Android Runner.
 * 
 * Android Runner is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Android Runner is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Android Runner.  If not, see <http://www.gnu.org/licenses/>.
 */

package es.sonxurxo.gpsgame.client.model.service.to.response;

import java.io.Serializable;

import es.sonxurxo.gpsgame.client.model.service.to.Question;


/**
 * 
 * @author "Xurxo Mendez Perez"
 *
 */
public class GetItemResponseTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8223582861956830827L;
	private GenericGameResponseTO genericGameResponseTO;
	private long itemId;
	private boolean actuallyTaken;
	private int playerPoints;
	private Question question;
	
	public GetItemResponseTO() {}
	
	public GetItemResponseTO(GenericGameResponseTO genericGameResponseTO,
			boolean actuallyTaken, int playerPoints, Question question) {
		super();
		this.genericGameResponseTO = genericGameResponseTO;
		this.actuallyTaken = actuallyTaken;
		this.playerPoints = playerPoints;
		this.question = question;
	}

	public long getItemId() {
		return itemId;
	}

	public void setItemId(long itemId) {
		this.itemId = itemId;
	}

	public GenericGameResponseTO getGenericGameResponseTO() {
		return genericGameResponseTO;
	}

	public void setGenericGameResponseTO(GenericGameResponseTO genericGameResponseTO) {
		this.genericGameResponseTO = genericGameResponseTO;
	}

	public boolean isActuallyTaken() {
		return actuallyTaken;
	}

	public void setActuallyTaken(boolean actuallyTaken) {
		this.actuallyTaken = actuallyTaken;
	}

	public int getPlayerPoints() {
		return playerPoints;
	}

	public void setPlayerPoints(int playerPoints) {
		this.playerPoints = playerPoints;
	}

	public Question getQuestion() {
		return question;
	}

	public void setQuestion(Question question) {
		this.question = question;
	}
	
	
}
